import api from '@/utils/http.js';

export const getDepartmentList = async (data) => {
   return await api.get('/selectDepartment/page', {params: data});
};

export const getDepartmentOne = async (id) => {
    return await api.get('/getDepartmentInfo/' + id);
};


export const getDoctorListByDepartment = async (data) => {
    return await api.get('/selectAllDoctor', {params: data});
}
